package com.hliushi.learn;

import com.hliushi.learn.config.AuditProperties;
import com.hliushi.learn.config.MicroServiceUrl;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

/**
 * @ClassName MainApplication
 * @Description TODO
 * @Author hliushi
 * @Date 2021/7/5 20:32
 * @Version V1.0
 **/
// @EnableFormValidator
@SpringBootApplication
// 使用
@EnableConfigurationProperties({AuditProperties.class, MicroServiceUrl.class})
public class MainApplication {

    public static void main(String[] args) {
        SpringApplication.run(MainApplication.class);
    }
}
